<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>信息管理系统-TOP</title>
<link href="/rating/Public/admin/css/style.css" rel="stylesheet" type="text/css" />
<script language="JavaScript" src="/rating/Public/admin/js/jquery.js"></script>
<script type="text/javascript">
$(function(){	
	//顶部导航切换
	$(".nav li a").click(function(){
		$(".nav li a.selected").removeClass("selected")
		$(this).addClass("selected");
	})

	$('<audio id="chatAudio"><source src="/rating/Public/admin/images/notify.ogg" type="audio/ogg"><source src="/rating/Public/admin/images/notify.mp3" type="audio/mpeg"><source src="/rating/Public/admin/images/notify.wav" type="audio/wav"> </audio>').appendTo('body');//载入声音文件

})
</script>
</head>

<body style="background:url(/rating/Public/admin/images/topbg.gif) repeat-x;">
    <div class="topleft">
		<a href="<?php echo U('index/welcome');?>" target="_parent"><img src="/rating/Public/admin/images/logo.png" title="系统首页" /></a>
    </div>
    <ul class="nav">
		<?php if(is_array($menuinfo)): $i = 0; $__LIST__ = $menuinfo;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$menu): $mod = ($i % 2 );++$i;?><li><a href="<?php echo U('index/left',array('menu_id'=>$menu['menu_id']));?>" target="leftFrame"<?php if($menu["menu_id"] == 6 ): ?>class="selected"<?php endif; ?>><img src="/rating/Public/admin/images/<?php echo ($menu["menu_icon"]); ?>" title="<?php echo ($menu["menu_title"]); ?>" /><h2><?php echo ($menu["menu_title"]); ?></h2></a></li><?php endforeach; endif; else: echo "" ;endif; ?>
    </ul> 
    <div class="topright">
		<ul>
			<li><span><img src="/rating/Public/admin/images/help.png" title="帮助"  class="helpimg"/></span><a href="http://www.yqok.com" target="_blank">帮助</a></li>
			<li><a href="http://www.yqok.com" target="_blank">关于</a></li>
			<li><a href="<?php echo U('login/loginout');?>" target="_parent">退出</a></li>
		</ul>
		<div class="user">
			<span><a href="<?php echo U('index/passwordadmin');?>" target="rightFrame" style="color:#b8ceda;" title="<?php echo ($groupinfo["group_name"]); ?>"><?php echo ($_SESSION['admin']['username']); ?></a></span>
		</div>
    </div>
</body>
</html>